package com.example.offer.no0064;

import com.example.offer.no0064.impl.RecurSolutionImpl;

/**
 * 解答测试-求1+2+…+n
 *
 * @author yumuhui
 */
public class SolutionTest {

    public static void main(String[] a1rgs) {

        int n = 9;

        System.out.println("入参: n: " + n);

        Solution solution = new RecurSolutionImpl();

        System.out.println(solution.sumNums(n));
    }
}
